package com.msw.dubbo.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @author mashuangwei
 * @version 1.0.0
 * @date 2022-06-07 21:27:30
 */

public class Order implements Serializable {
    private long id;
    private String type;
    private int nums;
    private String name;

//    private List<Goods> goodsList;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getNums() {
        return nums;
    }

    public void setNums(int nums) {
        this.nums = nums;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

//    public List<Goods> getGoodsList() {
//        return goodsList;
//    }
//
//    public void setGoodsList(List<Goods> goodsList) {
//        this.goodsList = goodsList;
//    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", type='" + type + '\'' +
                ", nums=" + nums +
                ", name='" + name + '\'' +
//                ", goodsList=" + goodsList +
                '}';
    }
}
